package com.techysky.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 权限表
 * @author Administrator
 *
 */
@Entity
@Table(name="sys_permission")
@Data@EqualsAndHashCode(callSuper=false)
public class Permission extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String permissionType;
	private String permissionItem;
	private String permissionFunction;
	private String roleId;	
	@Basic(fetch = FetchType.LAZY) 
	@Column(name="per_Code")
	private String perCode;
}
